package com.beijiteshop.libcommon.utils

import android.graphics.Paint
import android.widget.TextView

/**
 * @Author LiaoZhongKai
 * @Date 2021/3/5 11:50
 * @Description
 */

/**
 * 设置删除线
 */
fun TextView.setDeleteLine(){
    paintFlags = this.paintFlags or Paint.STRIKE_THRU_TEXT_FLAG
}